package com.dianban.dao;

import com.dianban.entity.FacePayCommissionVerifyLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FacePayCommissionVerifyLogDao {

    int insert(FacePayCommissionVerifyLog facePayCommissionVerifyLog);

    FacePayCommissionVerifyLog findById(@Param("id") Long id);

    List<FacePayCommissionVerifyLog> findList(@Param("status") Integer status, @Param("userId") Long userId, @Param("offlineOrderId") Long offlineOrderId, @Param("effectiveMinute") Integer effectiveMinute);

    int updateState(@Param("id") Long id, @Param("status") Integer status, @Param("updatetime") Long updatetime);


}
